Mon1 = input("Enter the principal amount:")
Mon2 = int(Mon1)
Rat1 = input("Enter the rate of interst:")
Rat2 = float(Rat1[:-1]) /100
Tim1 = input("Enter the time period in years:")
Tim2 = int(Tim1)
Mon3 = Mon2 * Rat2 * Tim2
print(f"The simple interset is {Mon3}.")